<?php
use \sy\base\Router;
use \blog\model\Article;
use \blog\model\Meta;
use \blog\model\Link;
use \blog\libs\Html;
use \blog\libs\Common;
?>
	<footer class="mdl-mini-footer">
		<div class="mdl-mini-footer--left-section">
			<div class="wrapper">
				<button id="friend_button" class="mdl-button mdl-js-button mdl-button--icon"><i class="iconfont icon-friend"></i></button>
				<ul id="friend_list" class="mdl-menu mdl-menu--top-left mdl-js-menu mdl-js-ripple-effect" for="friend_button">
					<li class="mdl-menu__item">友情链接</li>
					<?php
					$link = Link::getList();
					while ($one = $link->next()) {
						echo '<li class="mdl-menu__item"><a href="' . $one->url . '" rel="' . $one->rel . '" target="_blank">' . $one->title . '</a></li>';
					}
					?>
				</ul>
			</div>
			<div class="follow">
				<a href="https://weibo.com/wudishuangya" target="_blank" rel="nofollow" class="mdl-button mdl-button--icon"><i class="iconfont icon-weibo"></i></a>
				<a href="https://github.com/sylingd" target="_blank" rel="nofollow" class="mdl-button mdl-button--icon"><i class="iconfont icon-github"></i></a>
			</div>
		</div>
		<div class="mdl-mini-footer--right-section">
			<p>Copyright &copy; 2013 - <?=date('Y')?> <?=Html::encode(Common::option('sitename'))?>. Powered by <a href="http://blog.sylingd.com" target="_blank">SYBlog</a></p>
		</div>
	</footer>
	<button type="button" id="go-top" class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--colored"><i class="material-icons">arrow_upward</i></button>
	<script src="https://lib.baomitu.com/material-design-lite/1.3.0/material.min.js"></script>
	<script src="https://cdn.sylibs.com/blog/js/script.min.js"></script>
	<script>
	var _hmt = _hmt || [];
	(function() {
		var hm = document.createElement("script");
		hm.src = "https://hm.baidu.com/hm.js?276d979a49aea0ca80b1d3c595b329ce";
		hm.async = 'async';
		document.getElementsByTagName('body')[0].appendChild(hm);
	})();
	</script>